$(document).ready(function(){
	$("#regNewBtn").on("click", function(event){
		var options = new Object();
		options["url"] = "/template/system/userInfo/_regForm";
		options["jqwId"] = "newJqwPop";
		options["title"] = "사용자 등록";
		options["titleFontColor"] = "blue";
		options["resizable"] = false;
		options["width"] = "500";
		options["height"] = "330";
		jqwOpen(options);
	});
});

function jqwOpen(opts){	
	var options = new Object();
	options["url"] = opts["url"];
	options["type"] = "POST";
	options["dataType"] = "html";
	//opts["data"] = "";//Available no writing this option OR pram1=?&param2=? OR frm:form Id
	options["jqwId"] = opts["jqwId"];
	options["jqwType"] = "popup";	//< "popup" | "save" | [null | ""] >
	options["title"] = opts["title"];
	options["titleFontColor"] = opts["titleFontColor"];
	options["resizable"] = opts["resizable"];
	options["width"] = opts["width"];
	options["height"] = opts["height"];
	
	var jqw = new jqWindow();
	jqw.intializer(); //Close all jQuery.Window
	jqw.jqwSet(options);
	jqw.run();
}